﻿#ifndef _STK_DUMP_H_
#define _STK_DUMP_H_

#define PATH_FILTER_KEY "pstk\\"

typedef struct {
	int depth;
	int* stk_top;
	int* bp;
	int* lr;
	char* func_name;
	char* line_info;
} STK_INFO;

typedef struct {
	int stk_cnt;
	STK_INFO* stk_arr;
} STK_DATA;

bool get_cur_call_stack(STK_DATA* stk_data);
bool parse_1_stk(STK_DATA* stk_data);
void release_1_stk(STK_DATA* stk_data);

#endif
